import java.io.FileWriter;
import java.io.FilterWriter;
import java.io.IOException;
import java.io.Writer;

public class demo15 {

    public static void main(String[] args) {

         try(Writer writer = new FileWriter("./text.txt",true)) {
             writer.write("你好世界");

         }catch (IOException e){
             e.printStackTrace();
         }
    }

    
}
